
<script language="javascript" type="text/javascript">

	function cerrar() {
		$("#divArticuloView").trigger('close');
	}

</script>

<div id="divArticulo" style="display: none;">
	<div class="form form_articulo">
		<fieldset>
			<br />    
			<table border="0">
               	<tr>
               		<td width="330px"></td>
               		<td></td>
               		<td></td>
               	</tr>
				<tr>
					<td class="field_image" name="imagen" rowspan="3" style="vertical-align: top;">
						<img alt="img" src="" />
					</td>
					<td>
						<div class="label">
							<label><fmt:message key="ARTICULO_CODIGO"/>:</label>
						</div>
						<div class="field">
							<input type="text" name="codigo" readonly="readonly"/>
						</div>
					</td>
					<sec:authorize access="hasRole('PRCOST')">
						<td>
							<div class="label">
								<label><fmt:message key="ARTICULO_PRECIO_LISTA"/>:</label>
							</div>
							<div class="field">
								<input type="text" name="precioLista" readonly="readonly"/>
							</div>
						</td>
					</sec:authorize>
				</tr>
				<tr>
					<td colspan="2">
						<div class="label">
							<label><fmt:message key="ARTICULO_DESCRIPCION"/>:</label>
						</div>
						<div class="field">
							<span class="text" name="descripcion"></span>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="label">
							<label><fmt:message key="ARTICULO_MARCA"/>:</label>
						</div>
						<div class="field">
							<input type="text" name="marca" readonly="readonly"/>
						</div>
					</td>
					<td>
						<div class="label">
							<label><fmt:message key="ARTICULO_RUBRO"/>:</label>
						</div>
						<div class="field">
							<input type="text" name="rubro" readonly="readonly"/>
						</div>
					</td>
				</tr>
				<tr style="height: 20px;">
					<td></td>
					<td></td>
					<td></td>
				</tr>
			</table>
			<table border="0" width="100%">
				<tr>
					<td width="241px">
						<div class="label">
							<label><fmt:message key="ARTICULO_OBSERVACION"/>:</label>
						</div>
					</td>
					<td width="241px">
						<div class="label">
							<label><fmt:message key="ARTICULO_EQUIVALENCIA"/>:</label>
						</div>
					</td>
					<td rowspan="2">
						<div class="form_precioVenta">
				            <fieldset>
				                <div class="label">
									<label><fmt:message key="ARTICULO_PRECIO_VENTA"/>:</label>
								</div>
				                <div class="field">
				                	<div>
<!-- 									<input type="text" name="precioVenta" readonly="readonly"/> -->
										<span name="precioVenta"></span>
										<span 
											name="margen" 
											class="margen"
											title="El producto no tiene margen de ganancia aplicado."
										>
											&nbsp;&nbsp;!&nbsp;&nbsp;
										</span>
									</div>
								</div>
							</fieldset>
						</div>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top;">
						<div class="list">
							<ul name="observaciones"></ul>
						</div>
					</td>
					<td style="vertical-align: top;">
						<div class="list">
							<ul name="equivalencias"></ul>
						</div>
					</td>
				</tr>
			</table>
			<div class="form_button">
				<input 
					class="button_right" 
					type="button" 
					onclick="cerrar()" 
					value="<fmt:message key="CERRAR"/>"
				/>  
			</div>
		</fieldset>
	</div>			
</div>